package model;

import java.io.Serializable;
import java.util.Date;

public class Show implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String movieId;
    private String hallName;
    private Date time;
    private double price;
    private CinemaHall hall;

    public Show(String id, String movieId, String hallName, Date time, double price, CinemaHall hall) {
        this.id = id;
        this.movieId = movieId;
        this.hallName = hallName;
        this.time = time;
        this.price = price;
        this.hall = hall;
    }

    // Getter和Setter
    public String getId() { return id; }
    public String getMovieId() { return movieId; }
    public void setMovieId(String movieId) { this.movieId = movieId; }
    public String getHallName() { return hallName; }
    public Date getTime() { return time; }
    public void setTime(Date time) { this.time = time; }
    public double getPrice() { return price; }
    public void setPrice(double price) { this.price = price; }
    public CinemaHall getHall() { return hall; }
}